package edu.sctu.practice.class02.shuqiqi.assign.assign03.Two;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

/**
 * Created by admin on 2015/11/4.
 */
public class Main {
    public static void main(String[] args) {

        ComparableCircle comparableCircle1 = new ComparableCircle(4.5);

        ComparableCircle comparableCircle2 = new ComparableCircle(4.4);


        ComparableCylinder comparableCylinder1 = new ComparableCylinder(3.4, 4);


        ComparableCylinder comparableCylinder2 = new ComparableCylinder(2.4, 6);


        Max.max(comparableCircle1, comparableCircle2);
        Max.max(comparableCylinder1, comparableCylinder2);
    }
}
